Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: Add tests for createProof and verifyProof alongside an easier to use abstraction #58

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

kevaundray
Copy link
Collaborator

Breaking change as the input for createProof and verifyProof have been changed to ProverInput and VerifierInput.

This PR was initially meant to add tests for the existing interface, however it got a bit unwieldly so I made a quick interface to abstract away the boiletplate code for serializing and duplicating vectors.

pinging @acolytec3 since we just discussed him doing something similar. Feel free to merge your interface change in and I'll modify the tests, goal is just to have readable testing code so whichever interface works for me

@kevaundray
Copy link
Collaborator Author

The browser error is a bit unclear to me, I'm guessing its a vitest config based error -- it seems to indicate that it's not including the src directory when testing in the browser

@kevaundray kevaundray marked this pull request as ready for review September 10, 2024 10:35
Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@acolytec3 acolytec3 merged commit 43a3b76 into master Sep 10, 2024
3 checks passed
@acolytec3 acolytec3 deleted the kw/add-create-verify-proof-test branch September 10, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants